export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  dialogDirection: "rtl",
  searchMenuSpan: 6,
  column: [
    {
      type: "upload",
      label: "头像",
      prop: "avatar",
      span: 24,
      action: "/fastfile/upload/szgk-1256675456",
      listType: "picture-img",
      dataType: "string",
      propsHttp: {
        res: "data",
        url: "kpath",
      },
      rules: [
        {
          required: true,
          message: "请上传图片",
          trigger: "blur",
        },
      ],
    },
    {
      type: "input",
      label: "昵称",
      prop: "username",
    },
    {
      type: "input",
      label: "用户创建时间",
      prop: "userCreateTime",
    },
    {
      type: "input",
      label: "名字",
      prop: "name",
      search: true,
    },
    {
      type: "input",
      label: "电话",
      prop: "phone",
    },
    {
      type: "select",
      label: "投资类型",
      prop: "type",
      dicData: [
        {
          label: "生态资源",
          value: 1,
        },
        {
          label: "资产资源",
          value: 2,
        },
        {
          label: "精品民宿",
          value: 3,
        },
        {
          label: "精品美食",
          value: 4,
        },
        {
          label: "厂房",
          value: 5,
        },
        {
          label: "老房子",
          value: 6,
        },
        {
          label: "田园",
          value: 7,
        },
        {
          label: "建设用地",
          value: 8,
        },
        {
          label: "其他",
          value: 9,
        },
      ],
    },
    {
      type: "input",
      label: "投资意向",
      prop: "content",
    } /* {
      "type": "input",
      "label": "排序号",
      "prop": "sort"
    },	  {
      "type": "input",
      "label": "备注",
      "prop": "remark"
    } */,
  ],
};
